package com.zh.eventdispatch.activity;

import android.content.Intent;

/**
 * @author wally
 * @date 2021/06/05
 * 事件监听回调接口，处理成功返回true，否则返回false
 */
public interface ActivityEventObserver {
    /**
     * 处理onActivityResult
     */
    boolean onSupportActivityResult(int requestCode, int resultCode, Intent data);

    /**
     * 处理onBackPressed
     */
    boolean onSupportBackPressed();
}